package com.entrogy.bean;

import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.util.Date;

public class PassRecordEntity implements Serializable {
	private  int recordId;
	private String personId;
	private String personName;
	private String deviceName;
	private String recordTime;
	private String courseId;
	private String deviceId;
	private String visitorPerIdNumber;//身份证号码
	private int schoolCode;
	@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
	private Date identifyTs;//通行时间
	private int flag;

	public int getFlag() {
		return flag;
	}

	public void setFlag(int flag) {
		this.flag = flag;
	}

	public int getRecordId() {
		return recordId;
	}

	public void setRecordId(int recordId) {
		this.recordId = recordId;
	}

	public String getPersonId() {
		return personId;
	}

	public void setPersonId(String personId) {
		this.personId = personId;
	}

	public String getPersonName() {
		return personName;
	}

	public void setPersonName(String personName) {
		this.personName = personName;
	}

	public String getDeviceName() {
		return deviceName;
	}

	public void setDeviceName(String deviceName) {
		this.deviceName = deviceName;
	}

	public String getRecordTime() {
		return recordTime;
	}

	public void setRecordTime(String recordTime) {
		this.recordTime = recordTime;
	}

	public String getCourseId() {
		return courseId;
	}

	public void setCourseId(String courseId) {
		this.courseId = courseId;
	}

	public String getDeviceId() {
		return deviceId;
	}

	public void setDeviceId(String deviceId) {
		this.deviceId = deviceId;
	}

	public String getVisitorPerIdNumber() {
		return visitorPerIdNumber;
	}

	public void setVisitorPerIdNumber(String visitorPerIdNumber) {
		this.visitorPerIdNumber = visitorPerIdNumber;
	}

	public Date getIdentifyTs() {
		return identifyTs;
	}

	public void setIdentifyTs(Date identifyTs) {
		this.identifyTs = identifyTs;
	}

	public int getSchoolCode() {
		return schoolCode;
	}

	public void setSchoolCode(int schoolCode) {
		this.schoolCode = schoolCode;
	}
}
